package com.wn.pettyloan.mapper;

import com.wn.pettyloan.dto.EmpDto;
import com.wn.pettyloan.entity.Emp;
import com.wn.pettyloan.vo.EmpVo;
import com.wn.pettyloan.vo.RoleVo;

import java.util.List;
import java.util.Map;

/**
* @author mi-xu
* @description 针对表【emp】的数据库操作Mapper
* @createDate 2022-12-06 13:35:49
* @Entity com.wn.pettyloan.entity.Emp
*/
public interface EmpMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    List<Emp> selectAll();

    List<RoleVo> selectRoleByEmp();

    EmpVo empLogin(EmpDto empDto);

    Emp selectByUacc(String username);
}
